package com.xiaolanshu.service;

import com.xiaolanshu.entity.Dataurl;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

public interface DataurlService  {
    //获取笔记图片列表
    List<String> findPictureListById(Long noteId);
    //获取笔记视频
    Dataurl findVideo(Long noteId);
    //上传图片
    String uploadVideo(MultipartFile video) throws Exception;
    //上传视频
    String uploadPicture(MultipartFile picture) throws Exception;
    //根据笔记id保存视频信息
    void saveVideo(Dataurl dataurlVideo);
    //根据笔记id保存图片信息
    void savePicture(Dataurl dataurlPicture);
}
